package com.dao.lx;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.entity.Content;
import com.entity.Diystatus;

public interface ContentDAO extends CrudRepository<Content, Long>{
	@Query("from Content c where c.contentIfdelete = 1 and c.diystatus = ?1")
	public List<Content> findAllContentIfdelete(Diystatus diystatus);
	
}